
import App from './App'
import Home from './containers/Home'
import Login from './containers/Login'
import NotFound from './containers/NotFound'
export default [
    {
        path: '/',
        component: App,
        routes: [
            {
                path: '/',
                component: Home,
                exact: true,
                loadData: Home.loadData,
                key: 'home'
            },
            {
                path: '/login',
                component: Login,
                exact: true,
                key: 'login'
            },
            {
                component:NotFound
            }
        ]
    }
]


// export default (
//     <div>
//         <Route path="/" exact component={Home}></Route>
//         <Route path="/login" component={Login}></Route>
//     </div>
// )

